
package simuri.apriori;

import java.util.HashMap;
import java.util.TreeSet;
import simuri.utils.Configuration;

/**
 * Interface for compute the a-priori score of uris
 * @author fomy
 */
public interface AprioriFunction {
    
        /** Gets the apriori score for on given URI
     * 
     * @param uri Input URI
     * @return Score value
     */
    
    public double getDbAprioriScore1(String uri);
    
    
   
    /** Batch version of the other apriori score 
     * 
     * @param uris Set of URIs
     * @return Map of uri to score
     */
     
    public HashMap<String, Double> getDbAprioriScore1(TreeSet<String> uris);
    public HashMap<String, Double> getDbAprioriScore1(TreeSet<String> uris, Configuration c);
}
